package yongjian.drp.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import yongjian.drp.dao.ChartDao;

@Component
public class ChartService {
	private ChartDao chartDao;

	public ChartDao getChartDao() {
		return chartDao;
	}
	@Resource
	public void setChartDao(ChartDao chartDao) {
		this.chartDao = chartDao;
	}
	
	public List<Object[]> getDataSet(){
		return chartDao.getDataSet();
	}
		
}
